<!DOCTYPE HTML>

<html xmlns:th="http://www.thymeleaf.org">

<head>
    <title>Form Submission</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="static/style.css"/>
</head>
<body>

<center>
    <br><br>
    <h2 style="color:green">测试申请表</h2>
    <br><br>

    <form class="form-horizontal" role="form" action="#" th:action="@{/greeting}" th:object="${user}" method="post">

        <!--        <div class="form-group" style="width: 600px">-->
        <!--            <label for="reportNumber" class="col-sm-2 control-label">reportNumber</label>-->
        <!--            <div class="col-sm-10">-->
        <!--                <input type="text" th:field="*{reportNumber}" class="form-control" id="reportNumber"-->
        <!--                       placeholder="Enter reportNumber">-->
        <!--            </div>-->
        <!--        </div>-->


        <div class="form-group" style="width:600px">
            <label for="testType" class="col-sm-2 control-label">测试类型</label>
            <div class="col-sm-10">
                <input type="text" th:field="*{testType}" class="form-control" id="testType" placeholder="Enter testType">
            </div>
        </div>

        <div class="form-group" style="width:600px">
            <label for="applyDate" class="col-sm-2 control-label">申请日期</label>
            <div class="col-sm-10">
                <input type="text" th:field="*{applyDate}" class="form-control" id="applyDate" placeholder="Enter applyDate">
            </div>
        </div>

        <div class="form-group" style="width:600px">
            <label for="nameOfEntrustingParty" class="col-sm-2 control-label">委托方名称</label>
            <div class="col-sm-10">
                <input type="text" th:field="*{nameOfEntrustingParty}" class="form-control" id="nameOfEntrustingParty" placeholder="Enter nameOfEntrustingParty">
            </div>
        </div>

        <div class="form-group" style="width:600px">
            <label for="contacts" class="col-sm-2 control-label">联 系 人</label>
            <div class="col-sm-10">
                <input type="text" th:field="*{contacts}" class="form-control" id="contacts" placeholder="Enter contacts">
            </div>
        </div>

        <div class="form-group" style="width:600px">
            <label for="telephone" class="col-sm-2 control-label">电话</label>
            <div class="col-sm-10">
                <input type="text" th:field="*{telephone}" class="form-control" id="telephone" placeholder="Enter telephone">
            </div>
        </div>

        <div class="form-group" style="width:600px">
            <label for="mailbox" class="col-sm-2 control-label">邮箱</label>
            <div class="col-sm-10">
                <input type="text" th:field="*{mailbox}" class="form-control" id="mailbox" placeholder="Enter mailbox">
            </div>
        </div>

        <div class="form-group" style="width:600px">
            <label for="systemName" class="col-sm-2 control-label">系统名称</label>
            <div class="col-sm-10">
                <input type="text" th:field="*{systemName}" class="form-control" id="systemName" placeholder="Enter systemName">
            </div>
        </div>

        <div class="form-group" style="width:600px">
            <label for="versionNumber" class="col-sm-2 control-label">版本号</label>
            <div class="col-sm-10">
                <input type="text" th:field="*{versionNumber}" class="form-control" id="versionNumber" placeholder="Enter versionNumber">
            </div>
        </div>


        <div class="form-group" style="width:600px">-->
            <label for="developmentTool" class="col-sm-2 control-label">开发工具</label>
            <div class="col-sm-10">
                <input type="text" th:field="*{developmentTool}" class="form-control" id="developmentTool" placeholder="Enter developmentTool">
            </div>
        </div>

        <div class="form-group" style="width:600px">
            <label for="systemCharacteristics" class="col-sm-2 control-label">系统特点</label>
            <div class="col-sm-10">
                <input type="text" th:field="*{systemCharacteristics}" class="form-control" id="systemCharacteristics" placeholder="Enter systemCharacteristics">
            </div>
        </div>


        <div class="form-group" style="width:600px">
            <label for="mainFunctionalModules" class="col-sm-2 control-label">主要功能模块</label>
            <div class="col-sm-10">
                <input type="text" th:field="*{mainFunctionalModules}" class="form-control" id="mainFunctionalModules" placeholder="Enter mainFunctionalModules">
            </div>
        </div>


        <div class="form-group">
            <div>
                <button type="submit" class="btn btn-primary" id="btn">提交</button>
                <input type="reset" class="btn btn-warning" value="取消" />
            </div>
        </div>

    </form>


</center>


</body>
</html>



